<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>02_缩放</title>
  <style>
    .outer{
      width: 200px;
      height: 200px;
      margin: 0 auto;
      border: 1px solid black;
      margin-top: 100px;

    }
    .inner{
      width: 200px;
      height: 200px;
      background-color: skyblue;
      transform: scale(0.8)
    }
  </style>
</head>
<body>

  <div class="outer">
    <div class="inner">缩放</div>
  </div>
</body>
</html>